package cn.stronglink.assetmanage.business.task.view;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import cn.stronglink.assetmanage.R;
import cn.stronglink.assetmanage.business.inventory.view.InventoryView;
import cn.stronglink.assetmanage.widget.ViewPagerFragment;

/**
 * Created by Tgb on 2018/6/9.
 * 我的任务--入口fragment
 */

public class TaskFragment extends ViewPagerFragment {
    private TaskView taskView;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        rootView = inflater.inflate(R.layout.fragment_task,container,false);
        taskView = new TaskView(this,rootView);
        TextView txt_main_title = this.getActivity().findViewById(R.id.txt_main_title);
        txt_main_title.setText("我的任务");
        TextView txt_title_left = this.getActivity().findViewById(R.id.txt_left_title);
        txt_title_left.setVisibility(View.GONE);
        TextView txt_title_right = this.getActivity().findViewById(R.id.txt_right_title);
        txt_title_right.setVisibility(View.GONE);
        return rootView;
    }


    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }

}
